﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;

namespace CommomFunctions
{
    public class Buttons
    {
        public static void desabilitaBotoes(Button[] btn)
        {
            for (int i = 0; i < btn.Length; i++)
            {
                btn[i].IsEnabled = false;
            }

        }

        public static void habilitaBotoes(Button[] btn)
        {
            for (int i = 0; i < btn.Length; i++)
            {
                btn[i].IsEnabled = true;
            }

        }

        
    }
}
